package com.szrt.java.day20170113.ch07;

public class AdapterTest {
	
	public static void main(String[] args) {
		
		KeyBoard key  = new KeyBoard();
		Mouse   mouse  = new Mouse();
		Phone phone  = new Phone();
		
		USB adapter = new Adapter(key,mouse,phone);
		
		Computer computer = new Computer();
		computer.connection(adapter);
		
		
		
		
		
	}

}
